package demo1;

public class Test {
    public static void main(String[] args) {
        Person person = new Person("123");
        Person person1 = new Person("123");


        System.out.println(person == person1);

        System.out.println(person.equals(person1));

        System.out.println(person.hashCode());

        System.out.println(person1.hashCode());
    }
}
